package cn.itheima.student.daomain;

import java.util.List;

public class PageBean {

	private int pageSize; //每页显示的数据条数  自定义
	private int totalCount; //总条数  从数据库中查出来
	private int totalPage; //总页数 计算出来的
	private int currentPage; //当前页码数，从网页中传递过来的
	private List<Student> list;
	public int getPageSize() {
		return pageSize;
	}
	public void setPageSize(int pageSize) {
		this.pageSize = pageSize;
	}
	public int getTotalCount() {
		return totalCount;
	}
	public void setTotalCount(int totalCount) {
		this.totalCount = totalCount;
	}
	public int getTotalPage() {
		return totalPage;
	}
	public void setTotalPage(int totalPage) {
		this.totalPage = totalPage;
	}
	public int getCurrentPage() {
		return currentPage;
	}
	public void setCurrentPage(int currentPage) {
		this.currentPage = currentPage;
	}
	public List<Student> getList() {
		return list;
	}
	public void setList(List<Student> list) {
		this.list = list;
	}
	
	
	
}
